import Command from "./command"
import transitiontypeEnum from "../enum/transitionType.enum"
export class ChangeViewmodeCommand extends Command {
  constructor(mode: any, transitionType = transitiontypeEnum.Interpolate, pose = {}) {
    super()
    this.payload = { mode, transitionType, pose }
  }
}
ChangeViewmodeCommand.id = "CHANGE_VIEWMODE"
export class LockViewmodeCommand extends Command {
  constructor() {
    super()
  }
}
LockViewmodeCommand.id = "LOCK_VIEWMODE"
export class UnlockViewmodeCommand extends Command {
  constructor() {
    super()
  }
}
UnlockViewmodeCommand.id = "UNLOCK_VIEWMODE"
